import requests from '@/utils/oaRequest'
// export const getUserList=(data)=>requests({
//     url:`/sys/role/list/${data.pages}/${data.size}`,
//     method:"get"
// })
export const getUserList=()=>requests({
    url:`/sys/role/list`,
    method:"get"
})
export const getUserListById=(id)=>requests({
    url:`/sys/role/list/${id}`,
    method:"get"
})

export const queryDepartTreeList=(params)=>requests({
    url:`/sys/sysDepart/queryTreeList`,
    method:"get"
})

